package com.example.ratingservice;

import lombok.Data;

/**
 * @description:
 * @author: handa
 * @time: 2019/12/17 15:39
 */
@Data
public class Rating {
    private Long id;
    private Long bookId;
    private int stars;

    public Rating(Long id, Long bookId, int stars) {
        this.id = id;
        this.bookId = bookId;
        this.stars = stars;
    }
}
